using Google.ProtocolBuffers;
using Google.ProtocolBuffers.Collections;
using micromsg.Proto;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Runtime.CompilerServices;
namespace micromsg
{
	[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
	public sealed class CreateChatRoomResponse : GeneratedMessageLite<CreateChatRoomResponse, CreateChatRoomResponse.Builder>
	{
		[GeneratedCode("ProtoGen", "2.3.0.277"), DebuggerNonUserCode, CompilerGenerated]
		public sealed class Builder : GeneratedBuilderLite<CreateChatRoomResponse, CreateChatRoomResponse.Builder>
		{
			private bool resultIsReadOnly;
			private CreateChatRoomResponse result;
			protected override CreateChatRoomResponse.Builder ThisBuilder
			{
				get
				{
					return this;
				}
			}
			public override bool IsInitialized
			{
				get
				{
					return this.result.IsInitialized;
				}
			}
			protected override CreateChatRoomResponse MessageBeingBuilt
			{
				get
				{
					return this.PrepareBuilder();
				}
			}
			public override CreateChatRoomResponse DefaultInstanceForType
			{
				get
				{
					return CreateChatRoomResponse.DefaultInstance;
				}
			}
			public BaseResponse BaseResponse
			{
				get
				{
					return this.result.BaseResponse;
				}
				set
				{
					this.SetBaseResponse(value);
				}
			}
			public SKBuiltinString_t Topic
			{
				get
				{
					return this.result.Topic;
				}
				set
				{
					this.SetTopic(value);
				}
			}
			public SKBuiltinString_t PYInitial
			{
				get
				{
					return this.result.PYInitial;
				}
				set
				{
					this.SetPYInitial(value);
				}
			}
			public SKBuiltinString_t QuanPin
			{
				get
				{
					return this.result.QuanPin;
				}
				set
				{
					this.SetQuanPin(value);
				}
			}
			public uint MemberCount
			{
				get
				{
					return this.result.MemberCount;
				}
				set
				{
					this.SetMemberCount(value);
				}
			}
			public IPopsicleList<MemberResp> MemberListList
			{
				get
				{
					return this.PrepareBuilder().memberList_;
				}
			}
			public int MemberListCount
			{
				get
				{
					return this.result.MemberListCount;
				}
			}
			public SKBuiltinString_t ChatRoomName
			{
				get
				{
					return this.result.ChatRoomName;
				}
				set
				{
					this.SetChatRoomName(value);
				}
			}
			public SKBuiltinBuffer_t ImgBuf
			{
				get
				{
					return this.result.ImgBuf;
				}
				set
				{
					this.SetImgBuf(value);
				}
			}
			public Builder()
			{
				this.result = CreateChatRoomResponse.DefaultInstance;
				this.resultIsReadOnly = true;
			}
			internal Builder(CreateChatRoomResponse cloneFrom)
			{
				this.result = cloneFrom;
				this.resultIsReadOnly = true;
			}
			private CreateChatRoomResponse PrepareBuilder()
			{
				if (this.resultIsReadOnly)
				{
					CreateChatRoomResponse other = this.result;
					this.result = new CreateChatRoomResponse();
					this.resultIsReadOnly = false;
					this.MergeFrom(other);
				}
				return this.result;
			}
			public override CreateChatRoomResponse.Builder Clear()
			{
				this.result = CreateChatRoomResponse.DefaultInstance;
				this.resultIsReadOnly = true;
				return this;
			}
			public override CreateChatRoomResponse.Builder Clone()
			{
				if (this.resultIsReadOnly)
				{
					return new CreateChatRoomResponse.Builder(this.result);
				}
				return new CreateChatRoomResponse.Builder().MergeFrom(this.result);
			}
			public override CreateChatRoomResponse BuildPartial()
			{
				if (this.resultIsReadOnly)
				{
					return this.result;
				}
				this.resultIsReadOnly = true;
				return this.result.MakeReadOnly();
			}
			public override CreateChatRoomResponse.Builder MergeFrom(IMessageLite other)
			{
				if (other is CreateChatRoomResponse)
				{
					return this.MergeFrom((CreateChatRoomResponse)other);
				}
				base.MergeFrom(other);
				return this;
			}
			public override CreateChatRoomResponse.Builder MergeFrom(CreateChatRoomResponse other)
			{
				return this;
			}
			public override CreateChatRoomResponse.Builder MergeFrom(ICodedInputStream input)
			{
				return this.MergeFrom(input, ExtensionRegistry.Empty);
			}
			public override CreateChatRoomResponse.Builder MergeFrom(ICodedInputStream input, ExtensionRegistry extensionRegistry)
			{
				this.PrepareBuilder();
				uint num;
				string text;
				while (input.ReadTag(out num, out text))
				{
					if (num == 0u && text != null)
					{
						int num2 = Array.BinarySearch<string>(CreateChatRoomResponse._createChatRoomResponseFieldNames, text, StringComparer.get_Ordinal());
						if (num2 < 0)
						{
							this.ParseUnknownField(input, extensionRegistry, num, text);
							continue;
						}
						num = CreateChatRoomResponse._createChatRoomResponseFieldTags[num2];
					}
					uint num3 = num;
					if (num3 <= 26u)
					{
						if (num3 <= 10u)
						{
							if (num3 == 0u)
							{
								throw InvalidProtocolBufferException.InvalidTag();
							}
							if (num3 == 10u)
							{
								BaseResponse.Builder builder = BaseResponse.CreateBuilder();
								if (this.result.hasBaseResponse)
								{
									builder.MergeFrom(this.BaseResponse);
								}
								input.ReadMessage(builder, extensionRegistry);
								this.BaseResponse = builder.BuildPartial();
								continue;
							}
						}
						else
						{
							if (num3 == 18u)
							{
								SKBuiltinString_t.Builder builder2 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasTopic)
								{
									builder2.MergeFrom(this.Topic);
								}
								input.ReadMessage(builder2, extensionRegistry);
								this.Topic = builder2.BuildPartial();
								continue;
							}
							if (num3 == 26u)
							{
								SKBuiltinString_t.Builder builder3 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasPYInitial)
								{
									builder3.MergeFrom(this.PYInitial);
								}
								input.ReadMessage(builder3, extensionRegistry);
								this.PYInitial = builder3.BuildPartial();
								continue;
							}
						}
					}
					else
					{
						if (num3 <= 40u)
						{
							if (num3 == 34u)
							{
								SKBuiltinString_t.Builder builder4 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasQuanPin)
								{
									builder4.MergeFrom(this.QuanPin);
								}
								input.ReadMessage(builder4, extensionRegistry);
								this.QuanPin = builder4.BuildPartial();
								continue;
							}
							if (num3 == 40u)
							{
								this.result.hasMemberCount = input.ReadUInt32(ref this.result.memberCount_);
								continue;
							}
						}
						else
						{
							if (num3 == 50u)
							{
								input.ReadMessageArray<MemberResp>(num, text, this.result.memberList_, MemberResp.DefaultInstance, extensionRegistry);
								continue;
							}
							if (num3 == 58u)
							{
								SKBuiltinString_t.Builder builder5 = SKBuiltinString_t.CreateBuilder();
								if (this.result.hasChatRoomName)
								{
									builder5.MergeFrom(this.ChatRoomName);
								}
								input.ReadMessage(builder5, extensionRegistry);
								this.ChatRoomName = builder5.BuildPartial();
								continue;
							}
							if (num3 == 66u)
							{
								SKBuiltinBuffer_t.Builder builder6 = SKBuiltinBuffer_t.CreateBuilder();
								if (this.result.hasImgBuf)
								{
									builder6.MergeFrom(this.ImgBuf);
								}
								input.ReadMessage(builder6, extensionRegistry);
								this.ImgBuf = builder6.BuildPartial();
								continue;
							}
						}
					}
					if (WireFormat.IsEndGroupTag(num))
					{
						return this;
					}
					this.ParseUnknownField(input, extensionRegistry, num, text);
				}
				return this;
			}
			public CreateChatRoomResponse.Builder SetBaseResponse(BaseResponse value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasBaseResponse = true;
				this.result.baseResponse_ = value;
				return this;
			}
			public CreateChatRoomResponse.Builder SetBaseResponse(BaseResponse.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasBaseResponse = true;
				this.result.baseResponse_ = builderForValue.Build();
				return this;
			}
			public CreateChatRoomResponse.Builder MergeBaseResponse(BaseResponse value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasBaseResponse && this.result.baseResponse_ != BaseResponse.DefaultInstance)
				{
					this.result.baseResponse_ = BaseResponse.CreateBuilder(this.result.baseResponse_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.baseResponse_ = value;
				}
				this.result.hasBaseResponse = true;
				return this;
			}
			public CreateChatRoomResponse.Builder ClearBaseResponse()
			{
				this.PrepareBuilder();
				this.result.hasBaseResponse = false;
				this.result.baseResponse_ = null;
				return this;
			}
			public CreateChatRoomResponse.Builder SetTopic(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasTopic = true;
				this.result.topic_ = value;
				return this;
			}
			public CreateChatRoomResponse.Builder SetTopic(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasTopic = true;
				this.result.topic_ = builderForValue.Build();
				return this;
			}
			public CreateChatRoomResponse.Builder MergeTopic(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasTopic && this.result.topic_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.topic_ = SKBuiltinString_t.CreateBuilder(this.result.topic_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.topic_ = value;
				}
				this.result.hasTopic = true;
				return this;
			}
			public CreateChatRoomResponse.Builder ClearTopic()
			{
				this.PrepareBuilder();
				this.result.hasTopic = false;
				this.result.topic_ = null;
				return this;
			}
			public CreateChatRoomResponse.Builder SetPYInitial(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasPYInitial = true;
				this.result.pYInitial_ = value;
				return this;
			}
			public CreateChatRoomResponse.Builder SetPYInitial(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasPYInitial = true;
				this.result.pYInitial_ = builderForValue.Build();
				return this;
			}
			public CreateChatRoomResponse.Builder MergePYInitial(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasPYInitial && this.result.pYInitial_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.pYInitial_ = SKBuiltinString_t.CreateBuilder(this.result.pYInitial_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.pYInitial_ = value;
				}
				this.result.hasPYInitial = true;
				return this;
			}
			public CreateChatRoomResponse.Builder ClearPYInitial()
			{
				this.PrepareBuilder();
				this.result.hasPYInitial = false;
				this.result.pYInitial_ = null;
				return this;
			}
			public CreateChatRoomResponse.Builder SetQuanPin(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasQuanPin = true;
				this.result.quanPin_ = value;
				return this;
			}
			public CreateChatRoomResponse.Builder SetQuanPin(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasQuanPin = true;
				this.result.quanPin_ = builderForValue.Build();
				return this;
			}
			public CreateChatRoomResponse.Builder MergeQuanPin(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasQuanPin && this.result.quanPin_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.quanPin_ = SKBuiltinString_t.CreateBuilder(this.result.quanPin_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.quanPin_ = value;
				}
				this.result.hasQuanPin = true;
				return this;
			}
			public CreateChatRoomResponse.Builder ClearQuanPin()
			{
				this.PrepareBuilder();
				this.result.hasQuanPin = false;
				this.result.quanPin_ = null;
				return this;
			}
			public CreateChatRoomResponse.Builder SetMemberCount(uint value)
			{
				this.PrepareBuilder();
				this.result.hasMemberCount = true;
				this.result.memberCount_ = value;
				return this;
			}
			public CreateChatRoomResponse.Builder ClearMemberCount()
			{
				this.PrepareBuilder();
				this.result.hasMemberCount = false;
				this.result.memberCount_ = 0u;
				return this;
			}
			public MemberResp GetMemberList(int index)
			{
				return this.result.GetMemberList(index);
			}
			public CreateChatRoomResponse.Builder SetMemberList(int index, MemberResp value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.memberList_[index] = value;
				return this;
			}
			public CreateChatRoomResponse.Builder SetMemberList(int index, MemberResp.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.memberList_[index] = builderForValue.Build();
				return this;
			}
			public CreateChatRoomResponse.Builder AddMemberList(MemberResp value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.memberList_.Add(value);
				return this;
			}
			public CreateChatRoomResponse.Builder AddMemberList(MemberResp.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.memberList_.Add(builderForValue.Build());
				return this;
			}
			public CreateChatRoomResponse.Builder AddRangeMemberList(IEnumerable<MemberResp> values)
			{
				this.PrepareBuilder();
				this.result.memberList_.Add(values);
				return this;
			}
			public CreateChatRoomResponse.Builder ClearMemberList()
			{
				this.PrepareBuilder();
				this.result.memberList_.Clear();
				return this;
			}
			public CreateChatRoomResponse.Builder SetChatRoomName(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasChatRoomName = true;
				this.result.chatRoomName_ = value;
				return this;
			}
			public CreateChatRoomResponse.Builder SetChatRoomName(SKBuiltinString_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasChatRoomName = true;
				this.result.chatRoomName_ = builderForValue.Build();
				return this;
			}
			public CreateChatRoomResponse.Builder MergeChatRoomName(SKBuiltinString_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasChatRoomName && this.result.chatRoomName_ != SKBuiltinString_t.DefaultInstance)
				{
					this.result.chatRoomName_ = SKBuiltinString_t.CreateBuilder(this.result.chatRoomName_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.chatRoomName_ = value;
				}
				this.result.hasChatRoomName = true;
				return this;
			}
			public CreateChatRoomResponse.Builder ClearChatRoomName()
			{
				this.PrepareBuilder();
				this.result.hasChatRoomName = false;
				this.result.chatRoomName_ = null;
				return this;
			}
			public CreateChatRoomResponse.Builder SetImgBuf(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				this.result.hasImgBuf = true;
				this.result.imgBuf_ = value;
				return this;
			}
			public CreateChatRoomResponse.Builder SetImgBuf(SKBuiltinBuffer_t.Builder builderForValue)
			{
				ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
				this.PrepareBuilder();
				this.result.hasImgBuf = true;
				this.result.imgBuf_ = builderForValue.Build();
				return this;
			}
			public CreateChatRoomResponse.Builder MergeImgBuf(SKBuiltinBuffer_t value)
			{
				ThrowHelper.ThrowIfNull(value, "value");
				this.PrepareBuilder();
				if (this.result.hasImgBuf && this.result.imgBuf_ != SKBuiltinBuffer_t.DefaultInstance)
				{
					this.result.imgBuf_ = SKBuiltinBuffer_t.CreateBuilder(this.result.imgBuf_).MergeFrom(value).BuildPartial();
				}
				else
				{
					this.result.imgBuf_ = value;
				}
				this.result.hasImgBuf = true;
				return this;
			}
			public CreateChatRoomResponse.Builder ClearImgBuf()
			{
				this.PrepareBuilder();
				this.result.hasImgBuf = false;
				this.result.imgBuf_ = null;
				return this;
			}
		}
		public const int BaseResponseFieldNumber = 1;
		public const int TopicFieldNumber = 2;
		public const int PYInitialFieldNumber = 3;
		public const int QuanPinFieldNumber = 4;
		public const int MemberCountFieldNumber = 5;
		public const int MemberListFieldNumber = 6;
		public const int ChatRoomNameFieldNumber = 7;
		public const int ImgBufFieldNumber = 8;
		private static readonly CreateChatRoomResponse defaultInstance;
		private static readonly string[] _createChatRoomResponseFieldNames;
		private static readonly uint[] _createChatRoomResponseFieldTags;
		private bool hasBaseResponse;
		private BaseResponse baseResponse_;
		private bool hasTopic;
		private SKBuiltinString_t topic_;
		private bool hasPYInitial;
		private SKBuiltinString_t pYInitial_;
		private bool hasQuanPin;
		private SKBuiltinString_t quanPin_;
		private bool hasMemberCount;
		private uint memberCount_;
		private PopsicleList<MemberResp> memberList_ = new PopsicleList<MemberResp>();
		private bool hasChatRoomName;
		private SKBuiltinString_t chatRoomName_;
		private bool hasImgBuf;
		private SKBuiltinBuffer_t imgBuf_;
		private int memoizedSerializedSize = -1;
		public static CreateChatRoomResponse DefaultInstance
		{
			get
			{
				return CreateChatRoomResponse.defaultInstance;
			}
		}
		public override CreateChatRoomResponse DefaultInstanceForType
		{
			get
			{
				return CreateChatRoomResponse.DefaultInstance;
			}
		}
		protected override CreateChatRoomResponse ThisMessage
		{
			get
			{
				return this;
			}
		}
		public BaseResponse BaseResponse
		{
			get
			{
				return this.baseResponse_ ?? BaseResponse.DefaultInstance;
			}
		}
		public SKBuiltinString_t Topic
		{
			get
			{
				return this.topic_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public SKBuiltinString_t PYInitial
		{
			get
			{
				return this.pYInitial_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public SKBuiltinString_t QuanPin
		{
			get
			{
				return this.quanPin_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public uint MemberCount
		{
			get
			{
				return this.memberCount_;
			}
		}
		public IList<MemberResp> MemberListList
		{
			get
			{
				return this.memberList_;
			}
		}
		public int MemberListCount
		{
			get
			{
				return this.memberList_.Count;
			}
		}
		public SKBuiltinString_t ChatRoomName
		{
			get
			{
				return this.chatRoomName_ ?? SKBuiltinString_t.DefaultInstance;
			}
		}
		public SKBuiltinBuffer_t ImgBuf
		{
			get
			{
				return this.imgBuf_ ?? SKBuiltinBuffer_t.DefaultInstance;
			}
		}
		public override bool IsInitialized
		{
			get
			{
				if (!this.hasBaseResponse)
				{
					return false;
				}
				if (!this.hasTopic)
				{
					return false;
				}
				if (!this.hasPYInitial)
				{
					return false;
				}
				if (!this.hasQuanPin)
				{
					return false;
				}
				if (!this.hasMemberCount)
				{
					return false;
				}
				if (!this.hasChatRoomName)
				{
					return false;
				}
				if (!this.hasImgBuf)
				{
					return false;
				}
				if (!this.BaseResponse.IsInitialized)
				{
					return false;
				}
				using (IEnumerator<MemberResp> enumerator = this.MemberListList.GetEnumerator())
				{
					while (enumerator.MoveNext())
					{
						MemberResp current = enumerator.get_Current();
						if (!current.IsInitialized)
						{
							return false;
						}
					}
				}
				return this.ImgBuf.IsInitialized;
			}
		}
		public override int SerializedSize
		{
			get
			{
				int num = this.memoizedSerializedSize;
				if (num != -1)
				{
					return num;
				}
				num = 0;
				if (this.hasBaseResponse)
				{
					num += CodedOutputStream.ComputeMessageSize(1, this.BaseResponse);
				}
				if (this.hasTopic)
				{
					num += CodedOutputStream.ComputeMessageSize(2, this.Topic);
				}
				if (this.hasPYInitial)
				{
					num += CodedOutputStream.ComputeMessageSize(3, this.PYInitial);
				}
				if (this.hasQuanPin)
				{
					num += CodedOutputStream.ComputeMessageSize(4, this.QuanPin);
				}
				if (this.hasMemberCount)
				{
					num += CodedOutputStream.ComputeUInt32Size(5, this.MemberCount);
				}
				using (IEnumerator<MemberResp> enumerator = this.MemberListList.GetEnumerator())
				{
					while (enumerator.MoveNext())
					{
						MemberResp current = enumerator.get_Current();
						num += CodedOutputStream.ComputeMessageSize(6, current);
					}
				}
				if (this.hasChatRoomName)
				{
					num += CodedOutputStream.ComputeMessageSize(7, this.ChatRoomName);
				}
				if (this.hasImgBuf)
				{
					num += CodedOutputStream.ComputeMessageSize(8, this.ImgBuf);
				}
				this.memoizedSerializedSize = num;
				return num;
			}
		}
		private CreateChatRoomResponse()
		{
		}
		public MemberResp GetMemberList(int index)
		{
			return this.memberList_[index];
		}
		public override void WriteTo(ICodedOutputStream output)
		{
			int arg_06_0 = this.SerializedSize;
			string[] createChatRoomResponseFieldNames = CreateChatRoomResponse._createChatRoomResponseFieldNames;
			if (this.hasBaseResponse)
			{
				output.WriteMessage(1, createChatRoomResponseFieldNames[0], this.BaseResponse);
			}
			if (this.hasTopic)
			{
				output.WriteMessage(2, createChatRoomResponseFieldNames[7], this.Topic);
			}
			if (this.hasPYInitial)
			{
				output.WriteMessage(3, createChatRoomResponseFieldNames[5], this.PYInitial);
			}
			if (this.hasQuanPin)
			{
				output.WriteMessage(4, createChatRoomResponseFieldNames[6], this.QuanPin);
			}
			if (this.hasMemberCount)
			{
				output.WriteUInt32(5, createChatRoomResponseFieldNames[3], this.MemberCount);
			}
			if (this.memberList_.Count > 0)
			{
				output.WriteMessageArray<MemberResp>(6, createChatRoomResponseFieldNames[4], this.memberList_);
			}
			if (this.hasChatRoomName)
			{
				output.WriteMessage(7, createChatRoomResponseFieldNames[1], this.ChatRoomName);
			}
			if (this.hasImgBuf)
			{
				output.WriteMessage(8, createChatRoomResponseFieldNames[2], this.ImgBuf);
			}
		}
		public override int GetHashCode()
		{
			int num = base.GetType().GetHashCode();
			if (this.hasBaseResponse)
			{
				num ^= this.baseResponse_.GetHashCode();
			}
			if (this.hasTopic)
			{
				num ^= this.topic_.GetHashCode();
			}
			if (this.hasPYInitial)
			{
				num ^= this.pYInitial_.GetHashCode();
			}
			if (this.hasQuanPin)
			{
				num ^= this.quanPin_.GetHashCode();
			}
			if (this.hasMemberCount)
			{
				num ^= this.memberCount_.GetHashCode();
			}
			using (IEnumerator<MemberResp> enumerator = this.memberList_.GetEnumerator())
			{
				while (enumerator.MoveNext())
				{
					MemberResp current = enumerator.get_Current();
					num ^= current.GetHashCode();
				}
			}
			if (this.hasChatRoomName)
			{
				num ^= this.chatRoomName_.GetHashCode();
			}
			if (this.hasImgBuf)
			{
				num ^= this.imgBuf_.GetHashCode();
			}
			return num;
		}
		public override bool Equals(object object_0)
		{
			CreateChatRoomResponse createChatRoomResponse = object_0 as CreateChatRoomResponse;
			if (createChatRoomResponse == null)
			{
				return false;
			}
			if (this.hasBaseResponse != createChatRoomResponse.hasBaseResponse || (this.hasBaseResponse && !this.baseResponse_.Equals(createChatRoomResponse.baseResponse_)))
			{
				return false;
			}
			if (this.hasTopic != createChatRoomResponse.hasTopic || (this.hasTopic && !this.topic_.Equals(createChatRoomResponse.topic_)))
			{
				return false;
			}
			if (this.hasPYInitial != createChatRoomResponse.hasPYInitial || (this.hasPYInitial && !this.pYInitial_.Equals(createChatRoomResponse.pYInitial_)))
			{
				return false;
			}
			if (this.hasQuanPin != createChatRoomResponse.hasQuanPin || (this.hasQuanPin && !this.quanPin_.Equals(createChatRoomResponse.quanPin_)))
			{
				return false;
			}
			if (this.hasMemberCount != createChatRoomResponse.hasMemberCount || (this.hasMemberCount && !this.memberCount_.Equals(createChatRoomResponse.memberCount_)))
			{
				return false;
			}
			if (this.memberList_.Count != createChatRoomResponse.memberList_.Count)
			{
				return false;
			}
			for (int i = 0; i < this.memberList_.Count; i++)
			{
				if (!this.memberList_[i].Equals(createChatRoomResponse.memberList_[i]))
				{
					return false;
				}
			}
			return this.hasChatRoomName == createChatRoomResponse.hasChatRoomName && (!this.hasChatRoomName || this.chatRoomName_.Equals(createChatRoomResponse.chatRoomName_)) && (this.hasImgBuf == createChatRoomResponse.hasImgBuf && (!this.hasImgBuf || this.imgBuf_.Equals(createChatRoomResponse.imgBuf_)));
		}
		public override void PrintTo(TextWriter writer)
		{
			GeneratedMessageLite<CreateChatRoomResponse, CreateChatRoomResponse.Builder>.PrintField("BaseResponse", this.hasBaseResponse, this.baseResponse_, writer);
			GeneratedMessageLite<CreateChatRoomResponse, CreateChatRoomResponse.Builder>.PrintField("Topic", this.hasTopic, this.topic_, writer);
			GeneratedMessageLite<CreateChatRoomResponse, CreateChatRoomResponse.Builder>.PrintField("PYInitial", this.hasPYInitial, this.pYInitial_, writer);
			GeneratedMessageLite<CreateChatRoomResponse, CreateChatRoomResponse.Builder>.PrintField("QuanPin", this.hasQuanPin, this.quanPin_, writer);
			GeneratedMessageLite<CreateChatRoomResponse, CreateChatRoomResponse.Builder>.PrintField("MemberCount", this.hasMemberCount, this.memberCount_, writer);
			GeneratedMessageLite<CreateChatRoomResponse, CreateChatRoomResponse.Builder>.PrintField<MemberResp>("MemberList", this.memberList_, writer);
			GeneratedMessageLite<CreateChatRoomResponse, CreateChatRoomResponse.Builder>.PrintField("ChatRoomName", this.hasChatRoomName, this.chatRoomName_, writer);
			GeneratedMessageLite<CreateChatRoomResponse, CreateChatRoomResponse.Builder>.PrintField("ImgBuf", this.hasImgBuf, this.imgBuf_, writer);
		}
		public static CreateChatRoomResponse ParseFrom(byte[] data)
		{
			return CreateChatRoomResponse.CreateBuilder().MergeFrom(data).BuildParsed();
		}
		private CreateChatRoomResponse MakeReadOnly()
		{
			this.memberList_.MakeReadOnly();
			return this;
		}
		public static CreateChatRoomResponse.Builder CreateBuilder()
		{
			return new CreateChatRoomResponse.Builder();
		}
		public override CreateChatRoomResponse.Builder ToBuilder()
		{
			return CreateChatRoomResponse.CreateBuilder(this);
		}
		public override CreateChatRoomResponse.Builder CreateBuilderForType()
		{
			return new CreateChatRoomResponse.Builder();
		}
		public static CreateChatRoomResponse.Builder CreateBuilder(CreateChatRoomResponse prototype)
		{
			return new CreateChatRoomResponse.Builder(prototype);
		}
		static CreateChatRoomResponse()
		{
			CreateChatRoomResponse.defaultInstance = new CreateChatRoomResponse().MakeReadOnly();
			CreateChatRoomResponse._createChatRoomResponseFieldNames = new string[]
			{
				"BaseResponse",
				"ChatRoomName",
				"ImgBuf",
				"MemberCount",
				"MemberList",
				"PYInitial",
				"QuanPin",
				"Topic"
			};
			CreateChatRoomResponse._createChatRoomResponseFieldTags = new uint[]
			{
				10u,
				58u,
				66u,
				40u,
				50u,
				26u,
				34u,
				18u
			};
			object.ReferenceEquals(micromsg.Proto.CreateChatRoomResponse.Descriptor, null);
		}
	}
}
